package com.lingyun.mqttserver.dao.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class LowerComputerVariable {
    private Integer id;
    private Integer deviceId;
    private String port;
    private String variableName;
    private Integer slaveAddress;
    private Integer registerAddress;
    private String registerType;
    private String dataType;
    // bit数据类型第n个
    private Integer bitPosition;
    private String byteOrder;
    private BigDecimal scaleFactor;
    private String unit;
    private Boolean isSave;
    private Integer frequency;
    private String currentValue;
    private Timestamp updateTime;
    private Timestamp createTime;
}
